from flask import Flask, jsonify
from flask_cors import CORS

app = Flask(__name__)
CORS(app)


@app.route('/demo')
def demo():
    return jsonify({'message': '测试接口'})


if __name__ == '__main__':
    app.run(debug=True)
